Skip to content

fix: Only log any error that happens during log redirection#866

Merged
Pijukatel merged 3 commits into
masterfrom
only-log-errors-on-log-redirection
Jun 18, 2026
Merged

fix: Only log any error that happens during log redirection#866
Pijukatel merged 3 commits into
masterfrom
only-log-errors-on-log-redirection

Conversation

@Pijukatel

@Pijukatel Pijukatel commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Description

Issues

Closes: #864

@github-actions github-actions Bot added this to the 143rd sprint - Tooling team milestone Jun 18, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Jun 18, 2026
@Pijukatel Pijukatel changed the title fix: Only log any error that happens during log redirection. fix: Only log any error that happens during log redirection Jun 18, 2026
@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.49%. Comparing base (be7bba0) to head (85ef138).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/apify_client/_streamed_log.py 80.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #866   +/-   ##
=======================================
  Coverage   94.49%   94.49%           
=======================================
  Files          48       48           
  Lines        5069     5072    +3     
=======================================
+ Hits         4790     4793    +3     
  Misses        279      279           
Flag Coverage Δ
integration 92.88% <70.00%> (+0.24%) ⬆️
unit 83.26% <80.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Pijukatel Pijukatel force-pushed the only-log-errors-on-log-redirection branch from e5b7d79 to ac80143 Compare June 18, 2026 12:39
@Pijukatel Pijukatel requested a review from barjin June 18, 2026 12:57
@Pijukatel Pijukatel marked this pull request as ready for review June 18, 2026 12:57

@barjin barjin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, tested as part of triaging apify/impit#482 👍

Thank you, @Pijukatel !

@Pijukatel Pijukatel merged commit a2cc987 into master Jun 18, 2026
27 checks passed
@Pijukatel Pijukatel deleted the only-log-errors-on-log-redirection branch June 18, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update client to handle new errors from impit

3 participants